home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / snip9503 / defines.h < prev    next >
C/C++ Source or Header  |  1995-03-14  |  811b  |  19 lines

  1. /*  ======================================================================
  2.     DEFINES.h       Standard definitions etc.
  3.                     For simplification or for debugging substitution.
  4.  
  5.                     v1.02  94-08-11  Stripped version.
  6.  
  7.  _____              This version is Public Domain.
  8.  /_|__|             A.Reitsma, Delft, Nederland.
  9. /  | \  --------------------------------------------------------------- */
  10.  
  11. #include <stdlib.h>         /* for malloc() prototype */
  12. #include <string.h>         /* for memcpy() prototype */
  13.  
  14. #define MALLOC(size,type)   (type *) malloc( (size) * sizeof( type ))
  15. #define FREE(mem)           free( mem )
  16. #define CALLOC(size,type)   (type *) calloc( (size), sizeof( type))
  17.  
  18. /*  === DEFINES.h end ================================================= */
  19.